package com.cms.admin.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RateScalesPatientExample  extends RateScalesPatient{
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RateScalesPatientExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public void setCriteria(List<Criterion> criteria) {
            this.criteria = criteria;
        }

        public Criteria andRecidIsNull() {
            addCriterion("RecID is null");
            return (Criteria) this;
        }

        public Criteria andRecidIsNotNull() {
            addCriterion("RecID is not null");
            return (Criteria) this;
        }

        public Criteria andRecidEqualTo(Long value) {
            addCriterion("RecID =", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotEqualTo(Long value) {
            addCriterion("RecID <>", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidGreaterThan(Long value) {
            addCriterion("RecID >", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidGreaterThanOrEqualTo(Long value) {
            addCriterion("RecID >=", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidLessThan(Long value) {
            addCriterion("RecID <", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidLessThanOrEqualTo(Long value) {
            addCriterion("RecID <=", value, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidIn(List<Long> values) {
            addCriterion("RecID in", values, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotIn(List<Long> values) {
            addCriterion("RecID not in", values, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidBetween(Long value1, Long value2) {
            addCriterion("RecID between", value1, value2, "recid");
            return (Criteria) this;
        }

        public Criteria andRecidNotBetween(Long value1, Long value2) {
            addCriterion("RecID not between", value1, value2, "recid");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Long value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Long value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Long value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Long value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Long value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Long> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Long> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Long value1, Long value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Long value1, Long value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andPatientidIsNull() {
            addCriterion("PatientID is null");
            return (Criteria) this;
        }

        public Criteria andPatientidIsNotNull() {
            addCriterion("PatientID is not null");
            return (Criteria) this;
        }

        public Criteria andPatientidEqualTo(Long value) {
            addCriterion("PatientID =", value, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidNotEqualTo(Long value) {
            addCriterion("PatientID <>", value, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidGreaterThan(Long value) {
            addCriterion("PatientID >", value, "patientid");
            return (Criteria) this;
        }



        public Criteria andPatientidGreaterThanOrEqualTo(Long value) {
            addCriterion("PatientID >=", value, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidLessThan(Long value) {
            addCriterion("PatientID <", value, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidLessThanOrEqualTo(Long value) {
            addCriterion("PatientID <=", value, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidIn(List<Long> values) {
            addCriterion("PatientID in", values, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidNotIn(List<Long> values) {
            addCriterion("PatientID not in", values, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidBetween(Long value1, Long value2) {
            addCriterion("PatientID between", value1, value2, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientidNotBetween(Long value1, Long value2) {
            addCriterion("PatientID not between", value1, value2, "patientid");
            return (Criteria) this;
        }

        public Criteria andPatientNameIsNull() {
            addCriterion("Patient_NAME is null");
            return (Criteria) this;
        }

        public Criteria andPatientNameIsNotNull() {
            addCriterion("Patient_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andPatientNameEqualTo(String value) {
            addCriterion("Patient_NAME =", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotEqualTo(String value) {
            addCriterion("Patient_NAME <>", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameGreaterThan(String value) {
            addCriterion("Patient_NAME >", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameGreaterThanOrEqualTo(String value) {
            addCriterion("Patient_NAME >=", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLessThan(String value) {
            addCriterion("Patient_NAME <", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLessThanOrEqualTo(String value) {
            addCriterion("Patient_NAME <=", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameLike(String value) {
            addCriterion("Patient_NAME like", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotLike(String value) {
            addCriterion("Patient_NAME not like", value, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameIn(List<String> values) {
            addCriterion("Patient_NAME in", values, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotIn(List<String> values) {
            addCriterion("Patient_NAME not in", values, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameBetween(String value1, String value2) {
            addCriterion("Patient_NAME between", value1, value2, "patientName");
            return (Criteria) this;
        }

        public Criteria andPatientNameNotBetween(String value1, String value2) {
            addCriterion("Patient_NAME not between", value1, value2, "patientName");
            return (Criteria) this;
        }

        public Criteria andSelectListIsNull() {
            addCriterion("select_list is null");
            return (Criteria) this;
        }

        public Criteria andSelectListIsNotNull() {
            addCriterion("select_list is not null");
            return (Criteria) this;
        }

        public Criteria andSelectListEqualTo(String value) {
            addCriterion("select_list =", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListNotEqualTo(String value) {
            addCriterion("select_list <>", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListGreaterThan(String value) {
            addCriterion("select_list >", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListGreaterThanOrEqualTo(String value) {
            addCriterion("select_list >=", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListLessThan(String value) {
            addCriterion("select_list <", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListLessThanOrEqualTo(String value) {
            addCriterion("select_list <=", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListLike(String value) {
            addCriterion("select_list like", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListNotLike(String value) {
            addCriterion("select_list not like", value, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListIn(List<String> values) {
            addCriterion("select_list in", values, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListNotIn(List<String> values) {
            addCriterion("select_list not in", values, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListBetween(String value1, String value2) {
            addCriterion("select_list between", value1, value2, "selectList");
            return (Criteria) this;
        }

        public Criteria andSelectListNotBetween(String value1, String value2) {
            addCriterion("select_list not between", value1, value2, "selectList");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("SEX is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("SEX is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("SEX =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("SEX <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("SEX >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("SEX >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("SEX <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("SEX <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("SEX like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("SEX not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("SEX in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("SEX not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("SEX between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("SEX not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexidIsNull() {
            addCriterion("SEXid is null");
            return (Criteria) this;
        }

        public Criteria andSexidIsNotNull() {
            addCriterion("SEXid is not null");
            return (Criteria) this;
        }

        public Criteria andSexidEqualTo(Short value) {
            addCriterion("SEXid =", value, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidNotEqualTo(Short value) {
            addCriterion("SEXid <>", value, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidGreaterThan(Short value) {
            addCriterion("SEXid >", value, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidGreaterThanOrEqualTo(Short value) {
            addCriterion("SEXid >=", value, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidLessThan(Short value) {
            addCriterion("SEXid <", value, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidLessThanOrEqualTo(Short value) {
            addCriterion("SEXid <=", value, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidIn(List<Short> values) {
            addCriterion("SEXid in", values, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidNotIn(List<Short> values) {
            addCriterion("SEXid not in", values, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidBetween(Short value1, Short value2) {
            addCriterion("SEXid between", value1, value2, "sexid");
            return (Criteria) this;
        }

        public Criteria andSexidNotBetween(Short value1, Short value2) {
            addCriterion("SEXid not between", value1, value2, "sexid");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateIsNull() {
            addCriterion("Birthday_DATE is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateIsNotNull() {
            addCriterion("Birthday_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateEqualTo(Date value) {
            addCriterion("Birthday_DATE =", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateNotEqualTo(Date value) {
            addCriterion("Birthday_DATE <>", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateGreaterThan(Date value) {
            addCriterion("Birthday_DATE >", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateGreaterThanOrEqualTo(Date value) {
            addCriterion("Birthday_DATE >=", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateLessThan(Date value) {
            addCriterion("Birthday_DATE <", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateLessThanOrEqualTo(Date value) {
            addCriterion("Birthday_DATE <=", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateIn(List<Date> values) {
            addCriterion("Birthday_DATE in", values, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateNotIn(List<Date> values) {
            addCriterion("Birthday_DATE not in", values, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateBetween(Date value1, Date value2) {
            addCriterion("Birthday_DATE between", value1, value2, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateNotBetween(Date value1, Date value2) {
            addCriterion("Birthday_DATE not between", value1, value2, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andRateDateIsNull() {
            addCriterion("rate_date is null");
            return (Criteria) this;
        }

        public Criteria andRateDateIsNotNull() {
            addCriterion("rate_date is not null");
            return (Criteria) this;
        }

        public Criteria andRateDateEqualTo(Date value) {
            addCriterion("rate_date =", value, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateNotEqualTo(Date value) {
            addCriterion("rate_date <>", value, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateGreaterThan(Date value) {
            addCriterion("rate_date >", value, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("rate_date >=", value, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateLessThan(Date value) {
            addCriterion("rate_date <", value, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateLessThanOrEqualTo(Date value) {
            addCriterion("rate_date <=", value, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateIn(List<Date> values) {
            addCriterion("rate_date in", values, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateNotIn(List<Date> values) {
            addCriterion("rate_date not in", values, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateBetween(Date value1, Date value2) {
            addCriterion("rate_date between", value1, value2, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDateNotBetween(Date value1, Date value2) {
            addCriterion("rate_date not between", value1, value2, "rateDate");
            return (Criteria) this;
        }

        public Criteria andRateDescIsNull() {
            addCriterion("rate_desc is null");
            return (Criteria) this;
        }

        public Criteria andRateDescIsNotNull() {
            addCriterion("rate_desc is not null");
            return (Criteria) this;
        }

        public Criteria andRateDescEqualTo(String value) {
            addCriterion("rate_desc =", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescNotEqualTo(String value) {
            addCriterion("rate_desc <>", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescGreaterThan(String value) {
            addCriterion("rate_desc >", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescGreaterThanOrEqualTo(String value) {
            addCriterion("rate_desc >=", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescLessThan(String value) {
            addCriterion("rate_desc <", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescLessThanOrEqualTo(String value) {
            addCriterion("rate_desc <=", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescLike(String value) {
            addCriterion("rate_desc like", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescNotLike(String value) {
            addCriterion("rate_desc not like", value, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescIn(List<String> values) {
            addCriterion("rate_desc in", values, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescNotIn(List<String> values) {
            addCriterion("rate_desc not in", values, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescBetween(String value1, String value2) {
            addCriterion("rate_desc between", value1, value2, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andRateDescNotBetween(String value1, String value2) {
            addCriterion("rate_desc not between", value1, value2, "rateDesc");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIsNull() {
            addCriterion("update_UserID is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIsNotNull() {
            addCriterion("update_UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridEqualTo(Long value) {
            addCriterion("update_UserID =", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotEqualTo(Long value) {
            addCriterion("update_UserID <>", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridGreaterThan(Long value) {
            addCriterion("update_UserID >", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridGreaterThanOrEqualTo(Long value) {
            addCriterion("update_UserID >=", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridLessThan(Long value) {
            addCriterion("update_UserID <", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridLessThanOrEqualTo(Long value) {
            addCriterion("update_UserID <=", value, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridIn(List<Long> values) {
            addCriterion("update_UserID in", values, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotIn(List<Long> values) {
            addCriterion("update_UserID not in", values, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridBetween(Long value1, Long value2) {
            addCriterion("update_UserID between", value1, value2, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andUpdateUseridNotBetween(Long value1, Long value2) {
            addCriterion("update_UserID not between", value1, value2, "updateUserid");
            return (Criteria) this;
        }

        public Criteria andIqScoreIsNull() {
            addCriterion("iq_score is null");
            return (Criteria) this;
        }

        public Criteria andIqScoreIsNotNull() {
            addCriterion("iq_score is not null");
            return (Criteria) this;
        }

        public Criteria andIqScoreEqualTo(String value) {
            addCriterion("iq_score =", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreNotEqualTo(String value) {
            addCriterion("iq_score <>", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreGreaterThan(String value) {
            addCriterion("iq_score >", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreGreaterThanOrEqualTo(String value) {
            addCriterion("iq_score >=", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreLessThan(String value) {
            addCriterion("iq_score <", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreLessThanOrEqualTo(String value) {
            addCriterion("iq_score <=", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreLike(String value) {
            addCriterion("iq_score like", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreNotLike(String value) {
            addCriterion("iq_score not like", value, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreIn(List<String> values) {
            addCriterion("iq_score in", values, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreNotIn(List<String> values) {
            addCriterion("iq_score not in", values, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreBetween(String value1, String value2) {
            addCriterion("iq_score between", value1, value2, "iqScore");
            return (Criteria) this;
        }

        public Criteria andIqScoreNotBetween(String value1, String value2) {
            addCriterion("iq_score not between", value1, value2, "iqScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreIsNull() {
            addCriterion("growth_score is null");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreIsNotNull() {
            addCriterion("growth_score is not null");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreEqualTo(String value) {
            addCriterion("growth_score =", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreNotEqualTo(String value) {
            addCriterion("growth_score <>", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreGreaterThan(String value) {
            addCriterion("growth_score >", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreGreaterThanOrEqualTo(String value) {
            addCriterion("growth_score >=", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreLessThan(String value) {
            addCriterion("growth_score <", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreLessThanOrEqualTo(String value) {
            addCriterion("growth_score <=", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreLike(String value) {
            addCriterion("growth_score like", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreNotLike(String value) {
            addCriterion("growth_score not like", value, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreIn(List<String> values) {
            addCriterion("growth_score in", values, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreNotIn(List<String> values) {
            addCriterion("growth_score not in", values, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreBetween(String value1, String value2) {
            addCriterion("growth_score between", value1, value2, "growthScore");
            return (Criteria) this;
        }

        public Criteria andGrowthScoreNotBetween(String value1, String value2) {
            addCriterion("growth_score not between", value1, value2, "growthScore");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}